<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>AccountApi | bitget-node-sdk-api</title>
	<meta name="description" content="Documentation for bitget-node-sdk-api">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">bitget-node-sdk-api</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_src_lib_authenticatedapi_.html">&quot;src/lib/authenticatedApi&quot;</a>
				</li>
				<li>
					<a href="_src_lib_authenticatedapi_.accountapi.html">AccountApi</a>
				</li>
			</ul>
			<h1>Class AccountApi</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>账户相关API调用</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<a href="_src_lib_authenticatedapi_.authenticatedapi.html" class="tsd-signature-type">AuthenticatedApi</a>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">AccountApi</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="_src_lib_authenticatedapi_.accountapi.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section tsd-is-inherited">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_src_lib_authenticatedapi_.accountapi.html#axiosinstance" class="tsd-kind-icon">axios<wbr>Instance</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="_src_lib_authenticatedapi_.accountapi.html#signer" class="tsd-kind-icon">signer</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_lib_authenticatedapi_.accountapi.html#accounts" class="tsd-kind-icon">accounts</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_lib_authenticatedapi_.accountapi.html#adjustmargin" class="tsd-kind-icon">adjust<wbr>Margin</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_lib_authenticatedapi_.accountapi.html#getaccount" class="tsd-kind-icon">get<wbr>Account</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_lib_authenticatedapi_.accountapi.html#getledger" class="tsd-kind-icon">get<wbr>Ledger</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_lib_authenticatedapi_.accountapi.html#ledgermargin" class="tsd-kind-icon">ledger<wbr>Margin</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_lib_authenticatedapi_.accountapi.html#leverage" class="tsd-kind-icon">leverage</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_lib_authenticatedapi_.accountapi.html#modifyautoappendmargin" class="tsd-kind-icon">modify<wbr>Auto<wbr>Append<wbr>Margin</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_src_lib_authenticatedapi_.accountapi.html#settings" class="tsd-kind-icon">settings</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Account<wbr>Api<span class="tsd-signature-symbol">(</span>apiUri<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, httpConfig<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">AxiosRequestConfig</span>, apiKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, secretKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, passphrase<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_src_lib_authenticatedapi_.accountapi.html" class="tsd-signature-type">AccountApi</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="_src_lib_authenticatedapi_.authenticatedapi.html">AuthenticatedApi</a>.<a href="_src_lib_authenticatedapi_.authenticatedapi.html#constructor">constructor</a></p>
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:529</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> apiUri: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;https://capi.bitget.com&quot;</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> httpConfig: <span class="tsd-signature-type">AxiosRequestConfig</span><span class="tsd-signature-symbol"> = { timeout: 3000 }</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> apiKey: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;&quot;</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> secretKey: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;&quot;</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> passphrase: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;&quot;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_src_lib_authenticatedapi_.accountapi.html" class="tsd-signature-type">AccountApi</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
					<a name="axiosinstance" class="tsd-anchor"></a>
					<h3>axios<wbr>Instance</h3>
					<div class="tsd-signature tsd-kind-icon">axios<wbr>Instance<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AxiosInstance</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="_src_lib_authenticatedapi_.authenticatedapi.html">AuthenticatedApi</a>.<a href="_src_lib_authenticatedapi_.authenticatedapi.html#axiosinstance">axiosInstance</a></p>
						<ul>
							<li>Defined in src/lib/authenticatedApi.ts:477</li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
					<a name="signer" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> signer</h3>
					<div class="tsd-signature tsd-kind-icon">signer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>httpMethod<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, qsOrBody<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Dict</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, locale<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_src_lib_util_.bitgetapiheader.html" class="tsd-signature-type">BitgetApiHeader</a></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="_src_lib_authenticatedapi_.authenticatedapi.html">AuthenticatedApi</a>.<a href="_src_lib_authenticatedapi_.authenticatedapi.html#signer">signer</a></p>
						<ul>
							<li>Defined in src/lib/authenticatedApi.ts:478</li>
						</ul>
					</aside>
					<div class="tsd-type-declaration">
						<h4>Type declaration</h4>
						<ul class="tsd-parameters">
							<li class="tsd-parameter-signature">
								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>httpMethod<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, qsOrBody<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Dict</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, locale<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_src_lib_util_.bitgetapiheader.html" class="tsd-signature-type">BitgetApiHeader</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>httpMethod: <span class="tsd-signature-type">string</span></h5>
											</li>
											<li>
												<h5>url: <span class="tsd-signature-type">string</span></h5>
											</li>
											<li>
												<h5>qsOrBody: <span class="tsd-signature-type">Dict</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h5>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> locale: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="../interfaces/_src_lib_util_.bitgetapiheader.html" class="tsd-signature-type">BitgetApiHeader</a></h4>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="accounts" class="tsd-anchor"></a>
					<h3>accounts</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">accounts<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountinfo.html" class="tsd-signature-type">BitgetAccountInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:544</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>查询所有合约账户信息
									限速规则：1次/s</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountinfo.html" class="tsd-signature-type">BitgetAccountInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="adjustmargin" class="tsd-anchor"></a>
					<h3>adjust<wbr>Margin</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">adjust<wbr>Margin<span class="tsd-signature-symbol">(</span>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, amount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, positionType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetadjustmarginresult.html" class="tsd-signature-type">BitgetAdjustMarginResult</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:658</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>调整保证金
									限速规则：20次/2s</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>symbol: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>amount: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>调整数量</p>
									</div>
								</li>
								<li>
									<h5>positionType: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>仓位 0-多仓 1-空仓</p>
									</div>
								</li>
								<li>
									<h5>type: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>调整方式 1-增加 2-减少</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetadjustmarginresult.html" class="tsd-signature-type">BitgetAdjustMarginResult</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getaccount" class="tsd-anchor"></a>
					<h3>get<wbr>Account</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Account<span class="tsd-signature-symbol">(</span>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountinfo.html" class="tsd-signature-type">BitgetAccountInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:557</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>单个合约账户信息
									限速规则：5次/s</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>symbol: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountinfo.html" class="tsd-signature-type">BitgetAccountInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getledger" class="tsd-anchor"></a>
					<h3>get<wbr>Ledger</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Ledger<span class="tsd-signature-symbol">(</span>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, from<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, to<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, limit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, startTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, endTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetledgerinfo.html" class="tsd-signature-type">BitgetLedgerInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:607</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>主账户资产流水(分页)-最多允许查询近三个月的</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>symbol: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>from: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>to: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>limit: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>startTime: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>时间区间-起</p>
									</div>
								</li>
								<li>
									<h5>endTime: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>时间区间-止</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetledgerinfo.html" class="tsd-signature-type">BitgetLedgerInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="ledgermargin" class="tsd-anchor"></a>
					<h3>ledger<wbr>Margin</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">ledger<wbr>Margin<span class="tsd-signature-symbol">(</span>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, from<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, to<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, limit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, startTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, endTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetledgerinfo.html" class="tsd-signature-type">BitgetLedgerInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:633</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>列出保证金账户资产流水(分页)-最多允许查询近三个月的</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>symbol: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>from: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>to: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>limit: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>startTime: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>endTime: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetledgerinfo.html" class="tsd-signature-type">BitgetLedgerInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="leverage" class="tsd-anchor"></a>
					<h3>leverage</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">leverage<span class="tsd-signature-symbol">(</span>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, leverage<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, side<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountsettinginfo.html" class="tsd-signature-type">BitgetAccountSettingInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:589</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>调整杠杆
									限速规则：5次/s</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>symbol: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>leverage: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>要调整的杠杆数(一般为1-100)</p>
									</div>
								</li>
								<li>
									<h5>side: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>方向 1-多仓 2-空仓</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountsettinginfo.html" class="tsd-signature-type">BitgetAccountSettingInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="modifyautoappendmargin" class="tsd-anchor"></a>
					<h3>modify<wbr>Auto<wbr>Append<wbr>Margin</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">modify<wbr>Auto<wbr>Append<wbr>Margin<span class="tsd-signature-symbol">(</span>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, side<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, appendType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetautoappendmarginresult.html" class="tsd-signature-type">BitgetAutoAppendMarginResult</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:674</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>调整自动追加保证金开关
									限速规则：5次/s</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>symbol: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>side: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>仓位 1-多仓 2-空仓</p>
									</div>
								</li>
								<li>
									<h5>appendType: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>0-关闭 1-打开</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetautoappendmarginresult.html" class="tsd-signature-type">BitgetAutoAppendMarginResult</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="settings" class="tsd-anchor"></a>
					<h3>settings</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">settings<span class="tsd-signature-symbol">(</span>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountsettinginfo.html" class="tsd-signature-type">BitgetAccountSettingInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in src/lib/authenticatedApi.ts:572</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取单个合约的用户配置
									限速规则：5次/s</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>symbol: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">AxiosResponse</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountsettinginfo.html" class="tsd-signature-type">BitgetAccountSettingInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_src_lib_authenticatedapi_.html">&quot;src/lib/authenticated<wbr>Api&quot;</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/_src_lib_publicapi_.html">&quot;src/lib/public<wbr>Api&quot;</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/_src_lib_util_.html">&quot;src/lib/util&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_src_lib_authenticatedapi_.accountapi.html" class="tsd-kind-icon">Account<wbr>Api</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
								<a href="_src_lib_authenticatedapi_.accountapi.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a href="_src_lib_authenticatedapi_.accountapi.html#axiosinstance" class="tsd-kind-icon">axios<wbr>Instance</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
								<a href="_src_lib_authenticatedapi_.accountapi.html#signer" class="tsd-kind-icon">signer</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_lib_authenticatedapi_.accountapi.html#accounts" class="tsd-kind-icon">accounts</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_lib_authenticatedapi_.accountapi.html#adjustmargin" class="tsd-kind-icon">adjust<wbr>Margin</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_lib_authenticatedapi_.accountapi.html#getaccount" class="tsd-kind-icon">get<wbr>Account</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_lib_authenticatedapi_.accountapi.html#getledger" class="tsd-kind-icon">get<wbr>Ledger</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_lib_authenticatedapi_.accountapi.html#ledgermargin" class="tsd-kind-icon">ledger<wbr>Margin</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_lib_authenticatedapi_.accountapi.html#leverage" class="tsd-kind-icon">leverage</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_lib_authenticatedapi_.accountapi.html#modifyautoappendmargin" class="tsd-kind-icon">modify<wbr>Auto<wbr>Append<wbr>Margin</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_src_lib_authenticatedapi_.accountapi.html#settings" class="tsd-kind-icon">settings</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-class tsd-parent-kind-module tsd-is-not-exported">
						<a href="_src_lib_authenticatedapi_.authenticatedapi.html" class="tsd-kind-icon">Authenticated<wbr>Api</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-module">
						<a href="_src_lib_authenticatedapi_.orderapi.html" class="tsd-kind-icon">Order<wbr>Api</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-module">
						<a href="_src_lib_authenticatedapi_.positionapi.html" class="tsd-kind-icon">Position<wbr>Api</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountinfo.html" class="tsd-kind-icon">Bitget<wbr>Account<wbr>Info</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetaccountsettinginfo.html" class="tsd-kind-icon">Bitget<wbr>Account<wbr>Setting<wbr>Info</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetadjustmarginresult.html" class="tsd-kind-icon">Bitget<wbr>Adjust<wbr>Margin<wbr>Result</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetautoappendmarginresult.html" class="tsd-kind-icon">Bitget<wbr>Auto<wbr>Append<wbr>Margin<wbr>Result</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetbatchorderresult.html" class="tsd-kind-icon">Bitget<wbr>Batch<wbr>Order<wbr>Result</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetcancelbatchorderresult.html" class="tsd-kind-icon">Bitget<wbr>Cancel<wbr>Batch<wbr>Order<wbr>Result</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetcancelorderresult.html" class="tsd-kind-icon">Bitget<wbr>Cancel<wbr>Order<wbr>Result</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetledgerinfo.html" class="tsd-kind-icon">Bitget<wbr>Ledger<wbr>Info</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetorderdetail.html" class="tsd-kind-icon">Bitget<wbr>Order<wbr>Detail</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetorderfillinfo.html" class="tsd-kind-icon">Bitget<wbr>Order<wbr>Fill<wbr>Info</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetorderrequest.html" class="tsd-kind-icon">Bitget<wbr>Order<wbr>Request</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetorderresult.html" class="tsd-kind-icon">Bitget<wbr>Order<wbr>Result</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetplanorderinfo.html" class="tsd-kind-icon">Bitget<wbr>Plan<wbr>Order<wbr>Info</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetplanorderpage.html" class="tsd-kind-icon">Bitget<wbr>Plan<wbr>Order<wbr>Page</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetplanorderrequest.html" class="tsd-kind-icon">Bitget<wbr>Plan<wbr>Order<wbr>Request</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetplanorderresult.html" class="tsd-kind-icon">Bitget<wbr>Plan<wbr>Order<wbr>Result</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetpositionholdinfo.html" class="tsd-kind-icon">Bitget<wbr>Position<wbr>Hold<wbr>Info</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetpositioninfo.html" class="tsd-kind-icon">Bitget<wbr>Position<wbr>Info</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetpositionpage.html" class="tsd-kind-icon">Bitget<wbr>Position<wbr>Page</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-module">
						<a href="../interfaces/_src_lib_authenticatedapi_.bitgetvirtualrecordinfo.html" class="tsd-kind-icon">Bitget<wbr>Virtual<wbr>Record<wbr>Info</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>